﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.Scheduler
{
    //SCH_A1（日程信息表）
    public class MsScheduler
    {
        #region private attr

        private string _schId;
        private string _proxyId;
        private string _schFlag;
        private string _subject;
        private string _location;
        private string _beginTime;
        private string _endTime;
        private string _allDay;
        private string _state;
        private string _schType;
        private string _schAttr;  //日程性质 0：普通日程 1：私人日程
        private string _compState;
        private string _isCircle; //0：不使用定期模式；1：使用
        private string _seriesId;
        private string _circleSet;
        private string _remindType;
        private string _advRemTime;  //提前时间
        private string _advTimeType; //提醒时间类型
        private string _description;

        private string _carId;
        private string _rPersonal; //个人日程
        private string _rProxy; //代理人填写
        private string _PersonalSch;    //私人日程
        private string _rCompleteN;
        private string _rCompleteY;

        private string _OnLineMes;  //在线消息
        private string _NowReport;  //即时通讯
        private string _PhoneMes;   //手机短信
        private string _CycleSet;  //周期循环
        //按天
        private string _Day;
        private string _rEveryDay;
        private string _tEveryDay;
        private string _rEveryWeekDay;
        //按周
        private string _Week;
        private string _tWeekInterval;
        private string _cWeekOne;
        private string _cWeekTwo;
        private string _cWeekThree;
        private string _cWeekFour;
        private string _cWeekFive;
        private string _cWeekSix;
        private string _cWeekSeven;
        //按月
        private string _Month;
        private string _rEveryMonth1;
        private string _tEveryMonth1;
        private string _tMonthDay1;
        private string _rEveryMonth2;
        private string _tEveryMonth2;
        private string _dMonthCount;
        private string _dMonthWeek;
        private string _rMonthCalender;
        private string _rMonthLunar;
        //按年
        private string _Year;
        private string _rEveryYear1;
        private string _dYearMonth1;
        private string _tYearDay;
        private string _rEveryYear2;
        private string _dYearMonth2;
        private string _dYearCount;
        private string _dYearWeek;
        private string _rYearCalender;
        private string _rYearLunar;
        //重复范围
        private string _dBeginDate;
        private string _rCircle;
        private string _tRepeat;//重复次数
        private string _rEndDate;
        private string _dEndDate;

        public string schConvert;   //内容


        #region
        public string agencId { get; set; }
        public string deptId { get; set; }
        public string jobId { get; set; }
        public string levelId { get; set; }
        public string cjuserId { get; set; }
        public string cjdatetime { get; set; }
        public string userName { get; set; }
        #endregion


        #endregion

        #region public attr

        public string SchId { set { _schId = value; } get { return ((!string.IsNullOrEmpty(_schId)) ? _schId : ""); } }
        public string ProxyId { set { _proxyId = value; } get { return ((!string.IsNullOrEmpty(_proxyId)) ? _proxyId : ""); } }
        public string SchFlag { set { _schFlag = value; } get { return ((!string.IsNullOrEmpty(_schFlag)) ? _schFlag : ""); } }
        public string Subject { set { _subject = value; } get { return ((!string.IsNullOrEmpty(_subject)) ? _subject : ""); } }
        public string Location { set { _location = value; } get { return ((!string.IsNullOrEmpty(_location)) ? _location : ""); } }
        public string BeginTime { set { _beginTime = value; } get { return ((!string.IsNullOrEmpty(_beginTime)) ? _beginTime : ""); } }
        public string EndTime { set { _endTime = value; } get { return ((!string.IsNullOrEmpty(_endTime)) ? _endTime : ""); } }
        public string AllDay { set { _allDay = value; } get { return ((!string.IsNullOrEmpty(_allDay)) ? _allDay : ""); } }
        public string State { set { _state = value; } get { return ((!string.IsNullOrEmpty(_state)) ? _state : ""); } }
        public string SchType { set { _schType = value; } get { return ((!string.IsNullOrEmpty(_schType)) ? _schType : ""); } }
        public string SchAttr { set { _schAttr = value; } get { return ((!string.IsNullOrEmpty(_schAttr)) ? _schAttr : ""); } }
        public string CompState { set { _compState = value; } get { return ((!string.IsNullOrEmpty(_compState)) ? _compState : ""); } }
        public string IsCircle { set { _isCircle = value; } get { return ((!string.IsNullOrEmpty(_isCircle)) ? _isCircle : ""); } }
        public string SeriesId { set { _seriesId = value; } get { return ((!string.IsNullOrEmpty(_seriesId)) ? _seriesId : ""); } }
        public string CircleSet { set { _circleSet = value; } get { return ((!string.IsNullOrEmpty(_circleSet)) ? _circleSet : ""); } }
        public string RemindType { set { _remindType = value; } get { return ((!string.IsNullOrEmpty(_remindType)) ? _remindType : ""); } }
        public string AdvTime { set { _advRemTime = value; } get { return ((!string.IsNullOrEmpty(_advRemTime)) ? _advRemTime : ""); } }
        public string RemindTimeType { set { _advTimeType = value; } get { return ((!string.IsNullOrEmpty(_advTimeType)) ? _advTimeType : ""); } }
        public string Description { set { _description = value; } get { return ((!string.IsNullOrEmpty(_description)) ? _description : ""); } }

        /* 自定义字段  */
        public string CarId { set { _carId = value; } get { return ((!string.IsNullOrEmpty(_carId)) ? _carId : ""); } }
        public string rPersonal { set { _rPersonal = value; } get { return ((!string.IsNullOrEmpty(_rPersonal)) ? _rPersonal : ""); } }
        public string rProxy { set { _rProxy = value; } get { return ((!string.IsNullOrEmpty(_rProxy)) ? _rProxy : ""); } }
        public string PersonalSch { set { _PersonalSch = value; } get { return ((!string.IsNullOrEmpty(_PersonalSch)) ? _PersonalSch : ""); } }
        public string rCompleteN { set { _rCompleteN = value; } get { return ((!string.IsNullOrEmpty(_rCompleteN)) ? _rCompleteN : ""); } }
        public string rCompleteY { set { _rCompleteY = value; } get { return ((!string.IsNullOrEmpty(_rCompleteY)) ? _rCompleteY : ""); } }
        public string OnLineMes { set { _OnLineMes = value; } get { return ((!string.IsNullOrEmpty(_OnLineMes)) ? _OnLineMes : ""); } }
        public string NowReport { set { _NowReport = value; } get { return ((!string.IsNullOrEmpty(_NowReport)) ? _NowReport : ""); } }
        public string PhoneMes { set { _PhoneMes = value; } get { return ((!string.IsNullOrEmpty(_PhoneMes)) ? _PhoneMes : ""); } }
        public string CycleSet { set { _CycleSet = value; } get { return ((!string.IsNullOrEmpty(_CycleSet)) ? _CycleSet : ""); } }
        public string Day { set { _Day = value; } get { return ((!string.IsNullOrEmpty(_Day)) ? _Day : ""); } }
        public string rEveryDay { set { _rEveryDay = value; } get { return ((!string.IsNullOrEmpty(_rEveryDay)) ? _rEveryDay : ""); } }
        public string tEveryDay { set { _tEveryDay = value; } get { return ((!string.IsNullOrEmpty(_tEveryDay)) ? _tEveryDay : ""); } }
        public string rEveryWeekDay { set { _rEveryWeekDay = value; } get { return ((!string.IsNullOrEmpty(_rEveryWeekDay)) ? _rEveryWeekDay : ""); } }
        public string Week { set { _Week = value; } get { return ((!string.IsNullOrEmpty(_Week)) ? _Week : ""); } }
        public string tWeekInterval { set { _tWeekInterval = value; } get { return ((!string.IsNullOrEmpty(_tWeekInterval)) ? _tWeekInterval : ""); } }
        public string cWeekOne { set { _cWeekOne = value; } get { return ((!string.IsNullOrEmpty(_cWeekOne)) ? _cWeekOne : ""); } }
        public string cWeekTwo { set { _cWeekTwo = value; } get { return ((!string.IsNullOrEmpty(_cWeekTwo)) ? _cWeekTwo : ""); } }
        public string cWeekThree { set { _cWeekThree = value; } get { return ((!string.IsNullOrEmpty(_cWeekThree)) ? _cWeekThree : ""); } }
        public string cWeekFour { set { _cWeekFour = value; } get { return ((!string.IsNullOrEmpty(_cWeekFour)) ? _cWeekFour : ""); } }
        public string cWeekFive { set { _cWeekFive = value; } get { return ((!string.IsNullOrEmpty(_cWeekFive)) ? _cWeekFive : ""); } }
        public string cWeekSix { set { _cWeekSix = value; } get { return ((!string.IsNullOrEmpty(_cWeekSix)) ? _cWeekSix : ""); } }
        public string cWeekSeven { set { _cWeekSeven = value; } get { return ((!string.IsNullOrEmpty(_cWeekSeven)) ? _cWeekSeven : ""); } }
        public string Month { set { _Month = value; } get { return ((!string.IsNullOrEmpty(_Month)) ? _Month : ""); } }
        public string rEveryMonth1 { set { _rEveryMonth1 = value; } get { return ((!string.IsNullOrEmpty(_rEveryMonth1)) ? _rEveryMonth1 : ""); } }
        public string tEveryMonth1 { set { _tEveryMonth1 = value; } get { return ((!string.IsNullOrEmpty(_tEveryMonth1)) ? _tEveryMonth1 : ""); } }
        public string tMonthDay1 { set { _tMonthDay1 = value; } get { return ((!string.IsNullOrEmpty(_tMonthDay1)) ? _tMonthDay1 : ""); } }
        public string rEveryMonth2 { set { _rEveryMonth2 = value; } get { return ((!string.IsNullOrEmpty(_rEveryMonth2)) ? _rEveryMonth2 : ""); } }
        public string tEveryMonth2 { set { _tEveryMonth2 = value; } get { return ((!string.IsNullOrEmpty(_tEveryMonth2)) ? _tEveryMonth2 : ""); } }
        public string dMonthCount { set { _dMonthCount = value; } get { return ((!string.IsNullOrEmpty(_dMonthCount)) ? _dMonthCount : ""); } }
        public string dMonthWeek { set { _dMonthWeek = value; } get { return ((!string.IsNullOrEmpty(_dMonthWeek)) ? _dMonthWeek : ""); } }
        public string rMonthCalender { set { _rMonthCalender = value; } get { return ((!string.IsNullOrEmpty(_rMonthCalender)) ? _rMonthCalender : ""); } }
        public string rMonthLunar { set { _rMonthLunar = value; } get { return ((!string.IsNullOrEmpty(_rMonthLunar)) ? _rMonthLunar : ""); } }
        public string Year { set { _Year = value; } get { return ((!string.IsNullOrEmpty(_Year)) ? _Year : ""); } }
        public string rEveryYear1 { set { _rEveryYear1 = value; } get { return ((!string.IsNullOrEmpty(_rEveryYear1)) ? _rEveryYear1 : ""); } }
        public string dYearMonth1 { set { _dYearMonth1 = value; } get { return ((!string.IsNullOrEmpty(_dYearMonth1)) ? _dYearMonth1 : ""); } }
        public string tYearDay { set { _tYearDay = value; } get { return ((!string.IsNullOrEmpty(_tYearDay)) ? _tYearDay : ""); } }
        public string rEveryYear2 { set { _rEveryYear2 = value; } get { return ((!string.IsNullOrEmpty(_rEveryYear2)) ? _rEveryYear2 : ""); } }
        public string dYearMonth2 { set { _dYearMonth2 = value; } get { return ((!string.IsNullOrEmpty(_dYearMonth2)) ? _dYearMonth2 : ""); } }
        public string dYearCount { set { _dYearCount = value; } get { return ((!string.IsNullOrEmpty(_dYearCount)) ? _dYearCount : ""); } }
        public string dYearWeek { set { _dYearWeek = value; } get { return ((!string.IsNullOrEmpty(_dYearWeek)) ? _dYearWeek : ""); } }
        public string rYearCalender { set { _rYearCalender = value; } get { return ((!string.IsNullOrEmpty(_rYearCalender)) ? _rYearCalender : ""); } }
        public string rYearLunar { set { _rYearLunar = value; } get { return ((!string.IsNullOrEmpty(_rYearLunar)) ? _rYearLunar : ""); } }
        public string dBeginDate { set { _dBeginDate = value; } get { return ((!string.IsNullOrEmpty(_dBeginDate)) ? _dBeginDate : ""); } }
        public string rCircle { set { _rCircle = value; } get { return ((!string.IsNullOrEmpty(_rCircle)) ? _rCircle : ""); } }
        public string tRepeat { set { _tRepeat = value; } get { return ((!string.IsNullOrEmpty(_tRepeat)) ? _tRepeat : ""); } }
        public string rEndDate { set { _rEndDate = value; } get { return ((!string.IsNullOrEmpty(_rEndDate)) ? _rEndDate : ""); } }
        public string dEndDate { set { _dEndDate = value; } get { return ((!string.IsNullOrEmpty(_dEndDate)) ? _dEndDate : ""); } }
        




        #endregion
    }
}
